package com.zhuoshi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.entity.Paymenttype;
import com.zhuoshi.entity.PaymenttypeCustom;
import com.zhuoshi.mapper.PaymenttypeCustomMapper;
import com.zhuoshi.mapper.PaymenttypeMapper;
import com.zhuoshi.service.PaymenttypeService;

@Service
public class PaymenttypeServiceImpl implements PaymenttypeService{
	@Autowired
	private PaymenttypeMapper paymenttypeMapper;
	
	@Autowired
	private PaymenttypeCustomMapper paymenttypeCustomMapper;

	@Override
	public List<Paymenttype> showPayment() {
		// TODO Auto-generated method stub
		return paymenttypeMapper.selectByExample(null);
	}
	
	
	@Override
	public List<PaymenttypeCustom> showPaymenttype(PaymenttypeCustom paymenttypeCustom) {
		// TODO Auto-generated method stub
		return paymenttypeCustomMapper.showPaymenttype(paymenttypeCustom);
	}
}
